<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<div class="title">
	<s:label cssClass="current fl" key="manager.passwordEdit.title" />
	<s:a href="/manager/home.html" cssClass="back fr">[<s:text name="common.button.back" />]</s:a>
	<div class="clear"></div>
	<hr class="title" />
</div>

<s:form action="doPasswordEdit" method="post" theme="simple">
	<s:hidden name="userBeanPage.userId" />
	<s:token />
	<s:actionerror />
	<div class="table">
		<div class="row">
			<div class="cell-label"><s:text name="manager.passwordEdit.oldPassword" />:</div>
			<div class="cell-text">
				<s:password label="原密码" name="oldPassword" cssClass="w240" />
			</div>
			<div class="cell-msg">
				<div class="fieldError">
					<s:fielderror fieldName="msg.oldPassword" />
				</div>
			</div>
		</div>
		<div class="row">
			<div class="cell-label"><s:text name="manager.passwordEdit.password" />:</div>
			<div class="cell-text">
				<s:password label="密码" name="userBeanPage.password" cssClass="w240" />
			</div>
			<div class="cell-msg">
				<div class="fieldError">
					<s:fielderror fieldName="msg.newPassword" />
				</div>
			</div>
		</div>
		<div class="row">
			<div class="cell-label"><s:text name="manager.passwordEdit.confirmPassword" />:</div>
			<div class="cell-text">
				<s:password label="重复密码" name="confirmPassword" cssClass="w240" />
			</div>
			<div class="cell-msg">
				<div class="fieldError">
					<s:fielderror fieldName="msg.confirmPassword" />
				</div>
			</div>
		</div>
		<div class="row">
			<div class="cell-label"></div>
			<div class="cell-button">
				<s:submit name="save" method="save" key="common.button.save" cssClass="button3" />
			</div>
			<div class="cell-msg">
			</div>
		</div>
	</div>
</s:form>
